//
//  LessonTableViewCell.m
//  LoveDraw
//
//  Created by 梁晨 on 2017/6/27.
//  Copyright © 2017年 梁晨. All rights reserved.
//

#import "LessonTableViewCell.h"

@implementation LessonTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    
    self.LiuYanL.layer.masksToBounds = YES;
    self.LiuYanL.layer.cornerRadius = 3;
    self.LiuYanL.layer.borderWidth = 1;
    self.LiuYanL.layer.borderColor = PKCOLOR(229, 231, 232).CGColor;
    
    self.keBiaoBtn.layer.masksToBounds = YES;
    self.keBiaoBtn.layer.cornerRadius = 3;
    self.keBiaoBtn.layer.borderWidth = 1;
    self.keBiaoBtn.layer.borderColor = PKCOLOR(229, 231, 232).CGColor;
    
    self.KeliBtn.layer.masksToBounds = YES;
    self.KeliBtn.layer.cornerRadius = 3;
    self.KeliBtn.layer.borderWidth = 1;
    self.KeliBtn.layer.borderColor = PKCOLOR(229, 231, 232).CGColor;
    
    self.DianMingBtn.layer.masksToBounds = YES;
    self.DianMingBtn.layer.cornerRadius = 3;
    self.DianMingBtn.layer.borderWidth = 1;
    self.DianMingBtn.layer.borderColor = PKCOLOR(229, 231, 232).CGColor;
    
    
}

/**
 留言

 @param sender <#sender description#>
 */
- (IBAction)LiuYanAct:(UIButton *)sender
{
    [self.Delegate BtnClick:sender index:0];
}

/**
 课表

 @param sender <#sender description#>
 */
- (IBAction)KeBiaoAct:(UIButton *)sender
{
    [self.Delegate BtnClick:sender index:1];
}

/**
 课粒

 @param sender <#sender description#>
 */
- (IBAction)KeLiAct:(UIButton *)sender
{
    [self.Delegate BtnClick:sender index:2];
}

/**
 点名

 @param sender <#sender description#>
 */
- (IBAction)DianMing:(UIButton *)sender
{
    [self.Delegate BtnClick:sender index:3];
}


- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
